package com.mzj.saas.mservice.propertybill.repository;

import com.mzj.saas.mservice.propertybill.entity.HouseReturnPremium;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

public interface HouseReturnPremiumRepository extends PagingAndSortingRepository<HouseReturnPremium, Long>, JpaSpecificationExecutor<HouseReturnPremium>, JpaRepository<HouseReturnPremium, Long> {

    List<HouseReturnPremium> findByHouseId(String houseId);
}
